libxc: Include private Xen headers in stubdom libxc build
authorKeir Fraser <keir.fraser@citrix.com>
Tue, 11 Aug 2009 06:34:55 +0000 (07:34 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Tue, 11 Aug 2009 06:34:55 +0000 (07:34 +0100)
The headers libelf.h and elfstructs.h were removed from
xen/include/public in 19011:7df072566b8c.  But this broke the stubdom
build because parts of libxc depend on them.  This patch adds
$(XEN_ROOT)/xen/include/xen to the stubdom -I path.

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
stubdom/Makefile

index a4f5e0847b36f5f4b087d459daf615ea29b86262..ce25b05aade02a918c65aa2d2029a02b10d35033 100644 (file)
@@ -72,6 +72,7 @@ TARGET_CPPFLAGS += -isystem $(GCC_INSTALL)include
 TARGET_CPPFLAGS += -isystem $(CURDIR)/lwip-$(XEN_TARGET_ARCH)/src/include
 TARGET_CPPFLAGS += -isystem $(CURDIR)/lwip-$(XEN_TARGET_ARCH)/src/include/ipv4
 TARGET_CPPFLAGS += -I$(CURDIR)/include
+TARGET_CPPFLAGS += -I$(XEN_ROOT)/xen/include
 
 TARGET_LDFLAGS += -nostdlib -L$(CROSS_PREFIX)/$(GNU_TARGET_ARCH)-xen-elf/lib